package canvas;

/**
 * Created by IntelliJ IDEA.
 * User: ilya
 * Date: 16.10.11
 * Time: 14:20
 */
public class RunCanvasExample {

    public static void main(String[] args) {
        ConsoleCanvas cc = new ConsoleCanvas();
        Display d = new Display(cc);

        Square s = new Square(20);

        d.draw(10, 10, new Circle(10));
        d.draw(20, 10, s);
        d.draw(30, 40, s);
    }

}
